﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity.InterceptionExtension;
using System.Windows;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;

namespace Infrastructure.WpfClient.Interceptors
{
    [ConfigurationElementType(typeof(CustomCallHandlerData))]
    public class MethodAuditInterceptor : ICallHandler
    {
        public MethodAuditInterceptor()
        { 
        }
        public IMethodReturn Invoke(IMethodInvocation input, GetNextHandlerDelegate getNext)
        {
            IMethodReturn result = getNext()(input, getNext);
            return result;
        }
        public int Order{get;set;}
    }
}
